

@import "header";
@import "foot";
*{
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav{
    width:100%;
    border-bottom: 1px solid #ccc;
    .nav-first{
        width: 85%;
        height: 110px;
        margin: 0 auto;
        .header-logo{
            margin-top: 30px;
            float: left;
            cursor: pointer;
        }
        .nav-list{
            float: left;
            margin-left: 30%;
            li{
                float: left;
                font-size: 18px;
                line-height: 40px;
                margin-top: 35px;
                cursor: pointer;
                margin-left: 40px;
                a{
                    color: #000;
                    text-decoration: none;
                }
            }
            .active{
                color: red;
                border-bottom: 3px solid #f00;
                line-height: 40px;
                margin-top: 35px;
            }
            li:hover{
                color: red;
                border-bottom: 3px solid #f00;
            }
        }
        .shoppingcart{
            width: 150px;
            float: right;
            position: relative;
            margin-top: 40px;
            img{
                float: left;
            }
            p{
                color: red;
                cursor: pointer;
                text-align: center;
            }
            span{
                position: absolute;
                right: 0;
                top: -10px;
                color: red;
                font-weight: bold;
            }
        }
    }
}
.mallsearch{
    width: 700px;
    border: 2px solid orangered;
    height: 35px;
    margin: 20px auto;
    .searchtext{
        width: 600px;
        border: 1px solid orangered;
        border-right: none;
        height: 33px;
        float: left;
    }
    .searchbtn{
        float: left;
        display: block;
        width: 99px;
        height: 37px;
        line-height: 37px;
        text-align: center;
        background: orangered;
        color: #fff;
        cursor: pointer;
    }
}
.malltitle{
    width: 60%;
    margin: 20px auto;
    h2{
        font-size: 18px;
    }
    .fenlei{
        ul{
            li{
                width: 100%;
                height: 35px;
                line-height: 35px;
                border-bottom: 1px solid #f7f7f7;
                font-size: 16px;
                a{
                    color: #000;
                    text-decoration: none;
                    margin-right: 50px;
                }
                select{
                    border: none;
                    margin-right: 50px;
                }
                .active{
                    color: red;
                }
            }
        }
    }
}
.tupian{
    width: 70%;
    margin: 0 auto;
    ul{
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        margin-top: 20px;
        li{
            flex: 1;
            height: 350px;
            position: relative;
            margin-left: 30px;
            img{
                cursor: pointer;
            }
            p{
                position: absolute;
                bottom: 20px;
                cursor: pointer;
                span{
                    float: right;
                    color: red
                }
            }
            img:hover{
                transform: scale(1.1)
            }
        }
    }
}